namespace PickGold.Charting.Borders3D
{
    using System;
    using System.Drawing;

    internal class FrameTitle5Border : FrameThin5Border
    {
        public FrameTitle5Border()
        {
            base.sizeLeftTop = new SizeF(this.sizeLeftTop.Width, base.defaultRadiusSize * 2f);
            base.drawScrews = true;
        }

        public override RectangleF GetTitlePositionInBorder()
        {
            return new RectangleF(base.defaultRadiusSize * 0.25f, base.defaultRadiusSize * 0.25f, base.defaultRadiusSize * 0.25f, base.defaultRadiusSize * 1.6f);
        }

        public override string Name
        {
            get
            {
                return "FrameTitle5";
            }
        }

        public override float Resolution
        {
            set
            {
                base.Resolution = value;
                base.sizeLeftTop = new SizeF(this.sizeLeftTop.Width, base.defaultRadiusSize * 2f);
            }
        }
    }
}

